.class Lcom/jecelyin/editor/v2/ui/g$e;
.super Ljava/lang/Object;
.source "TabManager.java"

# interfaces
.implements Lcom/jecelyin/editor/v2/common/d;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/jecelyin/editor/v2/ui/g;->a()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:I

.field final synthetic b:Lcom/jecelyin/editor/v2/ui/g;


# direct methods
.method constructor <init>(Lcom/jecelyin/editor/v2/ui/g;I)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/jecelyin/editor/v2/ui/g$e;->b:Lcom/jecelyin/editor/v2/ui/g;

    iput p2, p0, Lcom/jecelyin/editor/v2/ui/g$e;->a:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(ILjava/lang/String;Ljava/lang/String;II)V
    .locals 1

    if-eqz p2, :cond_0

    .line 1
    iget-object v0, p0, Lcom/jecelyin/editor/v2/ui/g$e;->b:Lcom/jecelyin/editor/v2/ui/g;

    invoke-static {v0}, Lcom/jecelyin/editor/v2/ui/g;->a(Lcom/jecelyin/editor/v2/ui/g;)Lcom/jecelyin/editor/v2/ui/JeEditorActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/jecelyin/editor/v2/utils/b;->a(Landroid/content/Context;)Lcom/jecelyin/editor/v2/utils/b;

    move-result-object v0

    invoke-virtual {v0, p2, p3, p4, p5}, Lcom/jecelyin/editor/v2/utils/b;->b(Ljava/lang/String;Ljava/lang/String;II)V

    .line 2
    :cond_0
    iget p2, p0, Lcom/jecelyin/editor/v2/ui/g$e;->a:I

    add-int/lit8 p2, p2, -0x1

    if-ne p1, p2, :cond_1

    .line 3
    iget-object p1, p0, Lcom/jecelyin/editor/v2/ui/g$e;->b:Lcom/jecelyin/editor/v2/ui/g;

    invoke-static {p1}, Lcom/jecelyin/editor/v2/ui/g;->a(Lcom/jecelyin/editor/v2/ui/g;)Lcom/jecelyin/editor/v2/ui/JeEditorActivity;

    move-result-object p1

    invoke-virtual {p1}, Lcom/jecelyin/editor/v2/ui/JeEditorActivity;->finish()V

    goto :goto_0

    .line 4
    :cond_1
    iget-object p2, p0, Lcom/jecelyin/editor/v2/ui/g$e;->b:Lcom/jecelyin/editor/v2/ui/g;

    invoke-static {p2}, Lcom/jecelyin/editor/v2/ui/g;->d(Lcom/jecelyin/editor/v2/ui/g;)Lcom/jecelyin/editor/v2/adapter/EditorAdapter;

    move-result-object p2

    add-int/lit8 p1, p1, 0x1

    invoke-virtual {p2, p1, p0}, Lcom/jecelyin/editor/v2/adapter/EditorAdapter;->a(ILcom/jecelyin/editor/v2/common/d;)Z

    :goto_0
    return-void
.end method
